package cn.bxshey.general.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 商品(Commodity)表实体类
 *
 * @author makejava
 * @since 2024-02-01 14:29:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("commodity")
public class Commodity {
    @TableId
    //商品id    
    private String commodityId;
    //上架时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date commodityShelfTime;
    //下架时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date commodityUnderTime;
    //商品分类id
    private Long commodityTypeId;
    //描述
    private String commodityMsg;
    //商品图片
    private String commodityImage;
    //商品品牌
    private String commodityBrand;
    //商品详情描述
    private String commodityDetail;
}
